home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 48 / Mac Magazin CD 48.iso / Software / Entwickler / Drop UNIX 1.3 / DropUNIX Library ƒ / Main.h < prev   
Encoding:
C/C++ Source or Header  |  1997-01-18  |  497 b   |  24 lines  |  [TEXT/CWIE]

  1. #if !defined(__DROPUNIX_MAIN__)
  2. #define __DROPUNIX_MAIN__
  3.  
  4. /*
  5. ** Prototypes:
  6. */
  7.     int Main(int argc, char ** argv);
  8.  
  9. /*
  10. ** #Defines:
  11. */
  12.     /*
  13.     ** Notice that this #define is INTENTIONAL and is used
  14.     ** to convert unix sources as cleanly as possible...
  15.     ** Just #include this file at the top of the source file
  16.     ** containing main(), and add the library and the resource
  17.     ** file to the project. Voila! You have a macintosh drag &
  18.     ** drop app!
  19.     */
  20.  
  21.     #define main Main
  22.  
  23. #endif /* __DROPUNIX_MAIN__ */
  24.